These release notes cover new developer and user-facing incompatibilities, important issues, features, and major improvements.
Allow map and reduce jvm parameters, environment variables and ulimit to be set separately.
Configuration changes: add mapred.map.child.java.opts add mapred.reduce.child.java.opts add mapred.map.child.env add mapred.reduce.child.ulimit add mapred.map.child.env add mapred.reduce.child.ulimit deprecated mapred.child.java.opts deprecated mapred.child.env deprecated mapred.child.ulimit
Datanode can continue if a volume for replica storage fails. Previously a datanode resigned if any volume failed.
Added a new configuration property dfs.block.invalidate.limit for FSNamesystem.blockInvalidateLimit.
Removed dependency of testcase on /tmp and made it to use test.build.data directory instead.
This patch does four things:
* it changes the directory structure of the done directory that holds history logs for jobs that are completed, * it builds toy databases for completed jobs, so we no longer have to scan 2N files on DFS to find out facts about the N jobs that have completed since the job tracker started [which can be hundreds of thousands of files in practical cases], * it changes the job history browser to display more information and allow more filtering criteria, and * it creates a new programmatic interface for finding files matching user-chosen criteria. This allows users to no longer be concerned with our methods of storing them, in turn allowing us to change those at will.
The new API described above, which can be used to programmatically obtain history file PATHs given search criteria, is described below:
package org.apache.hadoop.mapreduce.jobhistory; ... // this interface is within O.A.H.mapreduce.jobhistory.JobHistory: // holds information about one job hostory log in the done // job history logs public static class JobHistoryJobRecord { public Path getPath() { ... } public String getJobIDString() { ... } public long getSubmitTime() { ... } public String getUserName() { ... } public String getJobName() { ... } } public class JobHistoryRecordRetriever implements Iterator\<JobHistoryJobRecord\> { // usual Interface methods -- remove() throws UnsupportedOperationException // returns the number of calls to next() that will succeed public int numMatches() { ... } } // returns a JobHistoryRecordRetriever that delivers all Path's of job matching job history files, // in no particular order. Any criterion that is null or the empty string does not constrain. // All criteria that are specified are applied conjunctively, except that if there's more than // one date you retrieve all Path's matching ANY date. // soughtUser and soughtJobid must match exactly. // soughtJobName can match the entire job name or any substring. // dates must be in the format exactly MM/DD/YYYY . // Dates' leading digits must be 2's . We're incubating a Y3K problem. public JobHistoryRecordRetriever getMatchingJob (String soughtUser, String soughtJobName, String[] dateStrings, String soughtJobid) throws IOException
Add CapacityScheduler servlet to enhance web UI for queue information.